8 Commits

Author SHA1 Message Date
c65eb2c6ec Update docker-image.yml 2025-02-20 21:37:53 -05:00
5b2555aa61 Merge pull request #5 from rishighan/rishighan-patch-1
Update docker-image.yml
2025-02-20 21:26:42 -05:00
6b732f1518 Update docker-image.yml 2025-02-20 21:26:30 -05:00
1900a3ddb8 🔧 Removed workflow file from wrong path 2025-02-20 21:24:13 -05:00
63130b4e82 Create docker-image.yml 2025-02-20 21:23:18 -05:00
f5a2e6505b 🔧 yeeting a docker workflow 2025-02-20 21:18:40 -05:00
6f11e84c1d 🐛 Removed some random letters 2025-02-20 12:36:53 -05:00
cb8e6bb3d6 Merge pull request #4 from rishighan/autodownload-loop
Autodownload loop
2025-02-17 15:42:22 -05:00
4 changed files with 22 additions and 4 deletions

19
.github/workflows/docker-image.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: frishi/threetwo-acquisition-service
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

View File

@@ -3,7 +3,7 @@ import { Service, ServiceBroker } from "moleculer";
import ApiGateway from "moleculer-web"; import ApiGateway from "moleculer-web";
export default class ApiService extends Service { export default class ApiService extends Service {
public constructor(broker: ServiceBroker) { constructor(broker: ServiceBroker) {
super(broker); super(broker);
this.parseServiceSchema({ this.parseServiceSchema({
name: "api", name: "api",

View File

@@ -282,7 +282,6 @@ export default class ComicProcessorService extends Service {
if (toReplaceIndex !== -1) { if (toReplaceIndex !== -1) {
// Replace the existing result with the updated result // Replace the existing result with the updated result
resultsForInstance[toReplaceIndex] = payload; resultsForInstance[toReplaceIndex] = payload;
rty6j
// Optionally, update the map with the modified array // Optionally, update the map with the modified array
this.airDCPPSearchResults.set(entityId, resultsForInstance); this.airDCPPSearchResults.set(entityId, resultsForInstance);
} }

View File

@@ -1,10 +1,10 @@
"use strict";
import { Context, Service, ServiceBroker, ServiceSchema, Errors } from "moleculer"; import { Context, Service, ServiceBroker, ServiceSchema, Errors } from "moleculer";
import axios from "axios"; import axios from "axios";
export default class ProwlarrService extends Service { export default class ProwlarrService extends Service {
// @ts-ignore // @ts-ignore
public constructor( constructor(
public broker: ServiceBroker, public broker: ServiceBroker,
schema: ServiceSchema<{}> = { name: "prowlarr" }, schema: ServiceSchema<{}> = { name: "prowlarr" },
) { ) {