Skip to content

Commit

Permalink
chore(be): use relative path for sample image
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaehyeon1020 committed Mar 2, 2024
1 parent 048191f commit b27dbde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions collection/admin/Problem/Upload Image/Succeed.bru
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ headers {
body:multipart-form {
operations: { "query": "mutation($input: UploadFileInput!){uploadImage(input: $input){ src }}","variables": {"input": {"file": null}}}
map: { "nfile" : ["variables.input.file"]}
nfile: @file(/Users/kimjaehyeon/Desktop/dev_local/skkuding/codedang/backend/apps/admin/src/problem/mock/sample.png)
nfile: @file(Problem/Upload Image/sample.png)
}

assert {
Expand All @@ -30,11 +30,11 @@ assert {
docs {
## Upload Image
이미지를 업로드하고, 업로드된 이미지의 URL 주소를 반환합니다.

### Error Cases
#### UNPROCESSABLE (1)
이미지 파일만 업로드가 가능합니다. (mimetype이 image/*)

#### UNPROCESSABLE (2)
5MB 이하의 이미지 파일만 업로드가 가능합니다.
}

0 comments on commit b27dbde

Please sign in to comment.