Skip to content

Commit

Permalink
chore: clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Zeinstra committed Oct 19, 2023
1 parent 8eca6ca commit 3406a87
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions targets/frontend/src/modules/documents/api/documents.query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export const queryDocument = async (
client: ApiClient,
variables: DocumentsQueryProps
): Promise<Document | undefined> => {
console.log("queryDocument", query, variables);
const { data: result, error } = await client.query<QueryDocumentResult>(
query,
variables
Expand All @@ -43,7 +42,6 @@ export const queryDocument = async (
console.log(error);
throw error;
}
console.log("result", result);
const data = result?.documents[0];

return data;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,10 @@ export class DocumentsService {
}

public async publish(id: string, source: string) {
console.log("id", id);
let document = await this.documentsRepository.fetch({
source,
initialId: id,
});
console.log("currentDoc", document);
switch (source) {
case "information":
default:
Expand Down

0 comments on commit 3406a87

Please sign in to comment.