From 845273eaf713499e145bf1fb942c5f7ad4180226 Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Tue, 16 Nov 2021 06:38:38 -0600 Subject: [PATCH] Use the packaged version of notion_utils. --- api/hff_entry_forms_api.nimble | 3 ++- api/src/hff_entry_forms_apipkg/models.nim | 3 +-- api/src/hff_entry_forms_apipkg/notion_client.nim | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/hff_entry_forms_api.nimble b/api/hff_entry_forms_api.nimble index fa5b144..b7aaf64 100644 --- a/api/hff_entry_forms_api.nimble +++ b/api/hff_entry_forms_api.nimble @@ -15,7 +15,8 @@ requires @["docopt", "jester"] requires "https://git.jdb-software.com/jdb/nim-cli-utils.git >= 0.6.3" requires "https://git.jdb-software.com/jdb/nim-time-utils.git >= 0.5.0" -requires "https://git.jdb-software.com/jdb/update-nim-package-version" +requires "https://git.jdb-software.com/jdb/update-nim-package-version.git" +requires "https://git.jdb-software.com/hope-family-fellowship/notion_utils.git" task updateVersion, "Update the version of this package.": exec "update_nim_package_version hff_entry_forms_api 'src/hff_entry_forms_apipkg/version.nim'" diff --git a/api/src/hff_entry_forms_apipkg/models.nim b/api/src/hff_entry_forms_apipkg/models.nim index 13f9f70..bff2f17 100644 --- a/api/src/hff_entry_forms_apipkg/models.nim +++ b/api/src/hff_entry_forms_apipkg/models.nim @@ -1,7 +1,6 @@ import std/json, std/times -import timeutils +import notion_utils, timeutils -import ../../../../notion_utils/src/notion_utils type EventProposal* = object diff --git a/api/src/hff_entry_forms_apipkg/notion_client.nim b/api/src/hff_entry_forms_apipkg/notion_client.nim index 8e5ab7e..1ca115c 100644 --- a/api/src/hff_entry_forms_apipkg/notion_client.nim +++ b/api/src/hff_entry_forms_apipkg/notion_client.nim @@ -1,6 +1,6 @@ -import json, logging, std/httpclient, sequtils, strutils +import std/json, std/logging, std/httpclient, std/sequtils, std/strutils +import notion_utils -import ../../../../notion_utils/src/notion_utils import ./models, ./service proc getEventProposalConfig*(cfg: HffEntryFormsApiConfig): EventProposalConfig =