Skip to content

Commit

Permalink
fix: importをdeps.tsにまとめた (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamekyame committed Oct 14, 2022
1 parent 9f85e31 commit 76ce231
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions api_v1/tweets/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ POST statuses/update
https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/post-statuses-update
*/

import {
oAuth1Fetch,
OAuth1Info,
} from "https://kamekyame.github.io/deno_tools/http/mod.ts";
import { oAuth1Fetch, OAuth1Info } from "../../deps.ts";

import { addParamOption, endpoints, getUrl } from "../../util.ts";

Expand Down Expand Up @@ -34,7 +31,7 @@ export interface UpdateParam {
* @export
* @param {OAuth1Info} auth
* @param {UpdateParam} param
* @return {any}
* @return {any}
*/
export async function statusUpdate(auth: OAuth1Info, param: UpdateParam) {
const url = getUrl(endpoints.api_v1.tweets.update);
Expand Down

0 comments on commit 76ce231

Please sign in to comment.