Skip to content

Commit

Permalink
[Feat] nft 개발
Browse files Browse the repository at this point in the history
  • Loading branch information
yerim216 committed Nov 15, 2023
1 parent 54993f2 commit 82ada40
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import okhttp3.*;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import java.io.IOException;

@Service
public class IPFSPhotoService {

@Value("${pinata.JWT}")
private String PINATE_JWT;
public String insertIpfs(Long memberPhotoId) throws IOException {
MemberPhoto memberPhoto = memberPhotoRepository.findById(memberPhotoId).orElseThrow();

OkHttpClient client = new OkHttpClient();

Expand Down

0 comments on commit 82ada40

Please sign in to comment.