server: lint, renovate: weekly updates
This commit is contained in:
parent
c0566efc98
commit
683cad2a8d
4 changed files with 4 additions and 5 deletions
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"extends": ["config:base", "group:allNonMajor"]
|
||||
"extends": ["config:base", "group:allNonMajor", "schedule:earlyMondays"]
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ import { Post } from "@lib/models/Post"
|
|||
import { User } from "@lib/models/User"
|
||||
import { File } from "@lib/models/File"
|
||||
import { Sequelize } from "sequelize-typescript"
|
||||
import { createPostFromGist, responseToGist } from ".."
|
||||
import { createPostFromGist, responseToGist } from ".."
|
||||
import { GistResponse } from "../fetch"
|
||||
import { AdditionalPostInformation } from "../transform"
|
||||
import * as path from "path"
|
||||
|
@ -41,7 +41,7 @@ async function createPost(
|
|||
visibility: "public",
|
||||
...override
|
||||
}
|
||||
return createPostFromGist(info, responseToGist (response))
|
||||
return createPostFromGist(info, responseToGist(response))
|
||||
}
|
||||
|
||||
describe("Gist", () => {
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
export { getGist, responseToGist } from "@lib/gist/fetch"
|
||||
export { getGist, responseToGist } from "@lib/gist/fetch"
|
||||
export { createPostFromGist } from "@lib/gist/transform"
|
||||
|
|
|
@ -470,7 +470,6 @@ posts.put(
|
|||
}
|
||||
)
|
||||
|
||||
|
||||
posts.post(
|
||||
"/import/gist/id/:id",
|
||||
jwt,
|
||||
|
|
Loading…
Reference in a new issue