Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Commit

Permalink
fix: 편지 전송 예시 (#5)
Browse files Browse the repository at this point in the history
* fix: 편지 전송 예시

* chore: the-camp-lib 업데이트

Co-authored-by: Park Seong-beom <parkgds@gmail.com>
  • Loading branch information
kcy1019 and parksb authored Feb 20, 2020
1 parent fb8c996 commit e3b33b7
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 45 deletions.
2 changes: 1 addition & 1 deletion examples/send-message/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const thecamp = require('the-camp-lib');
await thecamp.addSoldier(cookies, soldier);
const [trainee] = await thecamp.fetchSoldiers(cookies, soldier);

const message = new thecamp.Message('Title', 'Content', trainee.getTraineeMgrSeq());
const message = new thecamp.Message('Title', 'Content', trainee);

await thecamp.sendMessage(cookies, trainee, message);
})();
79 changes: 36 additions & 43 deletions examples/send-message/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/send-message/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"license": "MIT",
"dependencies": {
"dotenv": "^8.1.0",
"the-camp-lib": "^2.1.0"
"the-camp-lib": "^2.3.0"
}
}

0 comments on commit e3b33b7

Please sign in to comment.